package cn.two.model;

import java.util.Date;



public class OaNews implements java.io.Serializable {


	private Integer newsId;//公告
	private OaUser oaUser;
	private OaSubmit oaSubmit;
	private String newTitle;
	private String newContext;
	private Date newDate;

	// Constructors

	/** default constructor */
	public OaNews() {
	}

	/** full constructor */
	public OaNews(OaUser oaUser, OaSubmit oaSubmit, String newTitle,
			String newContext, Date newDate) {
		this.oaUser = oaUser;
		this.oaSubmit = oaSubmit;
		this.newTitle = newTitle;
		this.newContext = newContext;
		this.newDate = newDate;
	}

	// Property accessors

	public Integer getNewsId() {
		return this.newsId;
	}

	public void setNewsId(Integer newsId) {
		this.newsId = newsId;
	}

	public OaUser getOaUser() {
		return this.oaUser;
	}

	public void setOaUser(OaUser oaUser) {
		this.oaUser = oaUser;
	}

	public OaSubmit getOaSubmit() {
		return this.oaSubmit;
	}

	public void setOaSubmit(OaSubmit oaSubmit) {
		this.oaSubmit = oaSubmit;
	}

	public String getNewTitle() {
		return this.newTitle;
	}

	public void setNewTitle(String newTitle) {
		this.newTitle = newTitle;
	}

	public String getNewContext() {
		return this.newContext;
	}

	public void setNewContext(String newContext) {
		this.newContext = newContext;
	}

	public Date getNewDate() {
		return this.newDate;
	}

	public void setNewDate(Date newDate) {
		this.newDate = newDate;
	}

}